﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Simple.Common.Data;

namespace Simple.ViewModel
{
    public class RoleDto : Dto<long>
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        [Required(ErrorMessage="角色名称不能为空")]
        [StringLength(50, ErrorMessage = "最大长度50")]
        public string RoleName { get; set; }
    }
}
